package com.firebird.app.kotlin.stock.ui.godeal.contract

import com.firebird.app.kotlin.stock.base.BaseView
import com.firebird.app.kotlin.stock.data.DetailsDealBean
import okhttp3.RequestBody
import retrofit2.Call


interface GoDealContract {
    interface Model {
        fun getData(body: RequestBody?): Call<DetailsDealBean?>?
    }

    interface View : BaseView {
        override fun showLoading()
        override fun hideLoading()
        override fun onError(throwable: Throwable?)
        fun onSuccess(bean: DetailsDealBean?)
    }

    interface Presenter {
        fun getData(body: RequestBody?)
    }
}